﻿/**	\file		case_chk.h
 *	\date		(2014-09-16 23:02:27)/(2014-11-24 14:58:19)
 *-----------------------------------------------------------------------------
 *	\version	1.0.0.1
 *	\author		Nick Shallery	(nicknide@gmail.com)
 *	\copyright	YOU HAVE ALL LEFT WITH THIS CODE WHILE YOU KEEP COMMENT IN EVERY COPY.
 *-----------------------------------------------------------------------------
**/

#if			!defined(__LOLIX__TRIAL__CASE_CHK__NICK__K_IN_G__)
#define		__LOLIX__TRIAL__CASE_CHK__NICK__K_IN_G__


#if			!defined(__LOLIX__LOLIX_TYPE__K_IN_G__)
	#include	"../lolix/lolix_type.h"
#endif	//	!defined(__LOLIX__LOLIX_TYPE__K_IN_G__)


namespace lxtrial
{
	class icase;
	/**
	 * \brief	外部测试容器用的测试箱.
	**/
	class LOLIX_NO_VTABLE case_chk
		: public lolix::itf
	{
		LOLIX_DECLARE_ITF(lxtrial::case_chk, lolix::itf, (0x3cd7f0a8, 0x56a54926, 0x9a1871c2, 0x8bed71e1));
		/**
		 * \brief	测试用例.
		 *
		 * \param [in]	in_case			根据此用例为对象.
		 * \return	是否创建成功，LOLIX_IS_ERROR(return) == true 则表示失败
		**/
		LOLIX_INTERFACE(check, lolix::LOLIX_RETNV, (icase* in_case));
	};
}

#endif	//	!defined(__LOLIX__TRIAL__CASE_CHK__NICK__K_IN_G__)
